FROM node:boron

LABEL version=1.0.0
LABEL description="The OnWall Frontend Web server"

# Create app directory
RUN mkdir -p /usr/src/app
WORKDIR /usr/src/app

# Install app dependencies
COPY package.json /usr/src/app/
RUN npm install

# Bundle app source
COPY . /usr/src/app

EXPOSE 3000:80
CMD node --debug 5858 onwall-server.js
#CMD [ "npm", "start" ]